package org.polaris.org.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.polaris.basic.domain.BaseDomain;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain{
    private String username;
    private String password;
    private String email;
    private String headImage;
    private Integer age;
    @ApiModelProperty(value = "所属部门ID",required = true)
    private Long departmentId;

    private Department department;

}
